package it.sciuto.criminal.activities;

import it.sciuto.criminal.R;
import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.widget.ImageView;

public class ZoomActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.single_view);

		// Fade Animation
		overridePendingTransition(R.anim.fadein, R.anim.fadeout);

		String filename = getIntent().getExtras().getString("filename");
		System.out.println("FN:" + filename);

		ImageView mImageView = (ImageView) findViewById(R.id.single_image);

		mImageView.setImageURI(Uri.parse(filename));

	}
}
